﻿<div id="header">
    <div id="logo">
        <h1 id="header_broomcupboard" style="left:280px;">
            <span class="logonew"><img src="/assets/img/layout/logo.jpg" /></span>
        </h1>
        <h4 id="header_strapline"></h4>
        <ul id="welcome">
            <li>@Html.ActionLink("退出", "LogOff", "account")</li>
            <li>@Html.ActionLink("修改密码", "ChangePassword", "Account")</li>
            <li>欢迎 <strong>@(Web.Controllers.Common.GetUserName())</strong></li>
        </ul>
        <!--/end #welcome-->
    </div>
    <!--/end #logo-->
</div>
<script type="text/javascript">
    function show(id) {
        $("#" + id).show();
    }
    function hide(id) {
        $("#" + id).hide();
    }
    function toggle(id) {
        $("#" + id).toggle();
    }
    function associate(master, slave) {
        if ($("#" + master).attr("checked") == false)
            hide(slave);
    }
</script>
